package com.itheima.dao;

import com.alibaba.dubbo.config.support.Parameter;
import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CheckGroupDao {
    public void add(CheckGroup checkGroup);

    public void setCheckGroupAndCheckItem(Map map);


    Page<CheckGroup> findByCondition(String queryString);


    public CheckGroup findById( Integer id);

    public List<Integer> findCheckItemIdsByCheckGroupId( Integer id);


    public void edit(CheckGroup checkGroup);

    public void deleteId(Integer id);

    public List<CheckGroup> findAll();
    public void deleteById(Integer id);

    public   long findCountByCheckGroupId(Integer id);
}

